package com.example.sellersale.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.sellersale.entity.Bill;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;
import org.springframework.stereotype.Service;

import java.util.List;

@Repository
public interface BillMapper extends BaseMapper<Bill> {
    @Select("select * from sys_bill where userId=#{userId}")
    //查看发票信息
    List<Bill> userBillInfo(String userId);
}
